package com.yuan.member.service;

import cn.common.constant.SmsConstant;
import cn.common.result.Response;
import cn.model.Balance;
import cn.model.Member;
import cn.vo.CodeVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface MemberService extends IService<Member> {
     boolean register(Member member, String code);
     Map<String,Object> memberLogin(String phone, String password, String code);

     Map<String,Object> wechatLogin(String code);


     String getProduct(Integer id);

     boolean checkSmsCode(String phone, String code, SmsConstant.Sms_Type type);

     Member getMember();

     List<Balance> queryBalance(String symbol);

     CodeVo getCode();

     HashMap<String,Object> selectInviteRecord();
}
